package b面向对象.day2.demo3;

public class Test {
    public static void main(String[] args) {
        //调用无参构造
        Stu s=new Stu();
        System.out.println(s.score);

        Stu s2=new Stu(30);
        System.out.println(s2.age);

        Stu s3=new Stu(12,78);
        System.out.println(s3.score);
    }
}
